import {HttpClient} from '@angular/common/http';
import {Injectable} from '@angular/core';

import {Observable} from "rxjs/Observable";
import 'rxjs/add/operator/map';


@Injectable()
export class LiveShowDetailProvider {

    constructor(public http: HttpClient) {
    }

    /**
     * 获取直播详情
     * @returns {Observable<any>}
     */
    getLiveShowDetailData(parm): Observable<any> {

      // return this.http.get(`http://10.248.37.126:8002/team/v1/webcast/detail`,parm);
        return this.http.get(`/livestreaming/v1/team/detail/?`,{params:parm,responseType: "text"});
        // return this.http.get(`/team/v1/webcast/detail/?`,{params:parm,responseType: "text"});

    }
}
